#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include "documentmanager.h"
#include "widentifymanager.h"

int main(int argc, char *argv[])
{
    QGuiApplication app(argc, argv);

    QQmlApplicationEngine engine;
    qmlRegisterType<DocumentManager>("org.microcsource.code", 1, 0, "DocumentManager");
    qmlRegisterType<WidentifyManager>("org.microcsource.code", 1, 0, "WidentifyManager");
    engine.load(QUrl(QStringLiteral("qrc:///main.qml")));

    return app.exec();
}
